import React, { Component } from 'react'

class Header extends Component {
    render() {
        return (
            <div className="M-header" onClick={()=>this.props.func1()}>
                Header
                {this.props.param1}
            </div>
        )
    }
}

export default Header